﻿import request from '/@/utils/request';
enum Api {
  Addcar_case_details = '/api/car_case_details/add',
  Deletecar_case_details = '/api/car_case_details/delete',
  Updatecar_case_details = '/api/car_case_details/update',
  Pagecar_case_details = '/api/car_case_details/page',
}

// 增加案例内容
export const addcar_case_details = (params?: any) =>
	request({
		url: Api.Addcar_case_details,
		method: 'post',
		data: params,
	});

// 删除案例内容
export const deletecar_case_details = (params?: any) => 
	request({
			url: Api.Deletecar_case_details,
			method: 'post',
			data: params,
		});

// 编辑案例内容
export const updatecar_case_details = (params?: any) => 
	request({
			url: Api.Updatecar_case_details,
			method: 'post',
			data: params,
		});

// 分页查询案例内容
export const pagecar_case_details = (params?: any) => 
	request({
			url: Api.Pagecar_case_details,
			method: 'post',
			data: params,
		});


